package com.game.eggscatcher.GameObjects;

import com.badlogic.gdx.math.Vector2;

public class Ga {
	private Vector2 position;
	private int velocityX;
	public final int WIDTH = 15;
	public final int HEIGHT = 15;
	
	public Ga(float x, float y, int v){
		
		position = new Vector2(x, y);
		velocityX = v;
	}
	
	public void update(float delta) {
		position.x += velocityX * delta; 
		if (position.x > 136) position.x = 0;
	}
	
	public float getX() {
		return position.x;
	}
	public float getY() {
		return position.y;
	}
	
}
